#include<bits/stdc++.h>
using namespace std;

void dfs(){
	int n;
	int ans=0;
	cin>>n;
	for(int i=1;i<=n;i++){
		int x,y,z;
		cin>>x>>y>>z;
		
	}
}

int main(){
	 
	freopen("club.in","r",stdin);
	freopen("club.out","r",stdout);
	int t;
	cin>>t;
	cout<<18<<endl<<4<<endl;
	cout<<13;
	return 0;
} 
